OPC Studio User's Guide and Reference
OpaqueData Constructor(Byte[])



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > OpaqueData Class > OpaqueData Constructor : OpaqueData Constructor(Byte[])
The current opaque value, expressed as an array of bytes.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class with given byte array.
Syntax
'Declaration
 
Public Function New( _
   ByVal byteArray() As Byte _
)
'Usage
 
Dim byteArray() As Byte
 
Dim instance As New OpaqueData(byteArray)
public OpaqueData( 
   byte[] byteArray
)
public:
OpaqueData( 
   array<byte>^ byteArray
)

Parameters

byteArray
The current opaque value, expressed as an array of bytes.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also